package bdeenyy.threevector.model;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

public class VectorData {
    private final StringProperty name;
    private final StringProperty length1;
    private final StringProperty length2;
    private final StringProperty length3;


    public VectorData(String name, String length1, String length2, String length3) {
        this.name = new SimpleStringProperty(name);
        this.length1 = new SimpleStringProperty(length1);
        this.length2 = new SimpleStringProperty(length2);
        this.length3 = new SimpleStringProperty(length3);

    }

    public StringProperty nameProperty() {
        return name;
    }

    public String getName() {
        return name.get();
    }

    public void setName(String name) {
        this.name.set(name);
    }

    public StringProperty length1Property() {
        return length1;
    }

    public String getLength1() {
        return length1.get();
    }

    public void setLength1(String length1) {
        this.length1.set(length1);
    }

    public StringProperty length2Property() {
        return length2;
    }

    public String getLength2() {
        return length2.get();
    }

    public void setLength2(String length2) {
        this.length2.set(length2);
    }

    public StringProperty length3Property() {
        return length3;
    }

    public String getLength3() {
        return length3.get();
    }

    public void setLength3(String length3) {
        this.length3.set(length3);
    }

}
